<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2022/3/17
  Time: 16:11
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head> <%
    String dis = "";
    try {
        dis= (String) request.getAttribute("obj_data");
        request.setAttribute("dis",dis);

    }catch (Exception e){
        e.printStackTrace();
    }
%>
    <title>Title</title>
  <script type="text/javascript">
      <%--if( ${dis} != ""  )--%>
      <%--{--%>
      <%--alert(<%= dis %>);--%>
      <%--}--%>
  </script>
    <style>
        body{
            background-image:linear-gradient(to right, #ffc6e2, #ccb4ff);
        }

        form{
            background-color: white ;
            width: 350px;
            height: 420px;
            border-radius: 20px;
            opacity: 0.9;
            margin-left: auto;
            margin-right: auto;
            margin-top: 100px;
        }

        .load{

            border: 2px solid #080a0b;
            border-radius: 10px;
            width: 200px;
            height: 35px;
        }

        a{
            text-decoration:none;
        }


    </style>
</head>
<body>
<button><a href="Init.jsp">上一页</a></button>
<form style="text-align:center;vertical-align:middle;" action="LoadServlet" method="get">
    <h2>请输入你要上传的文件路径</h2>
    <input name="srcPath" class="load">
    <h2>请输入你要上传到的hdfs路径</h2>
    <input name="destPath" class="load">
    <input type="submit" value="确认">
    <h2>请输入你要下载的hdfs文件路径</h2>
    <input name="destLoc" class="load">
    <h2>请输入你要下载到的文件路径</h2>
    <input name="srcLoc" class="load">
    <input type="submit" value="确认">
</form>

</body>
</html>
